home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Day Cry
/
Day Cry CD.bin
/
oh_towns
/
ugoku
/
src.lzh
/
MOVPLAY
/
IMVSET.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-01
|
12KB
|
531 lines
#include <stdio.h>
#include <stdlib.h>
#include <winb.h>
#include <te.h>
#include <fntb.h>
#include <gui.h>
extern int setDialogId ;
extern int setMesId[17] ;
extern int setOKBtnId ;
extern int setOKchk() ;
extern int setCanBtnId ;
extern int setSubDialogId ;
extern int waitNumId ;
extern int waitSet() ;
extern int setBtnId[9] ;
extern int screenSet() ;
extern int playSet() ;
extern int zoomSet() ;
#define ALIGN 4
#define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
/* MMI_init ùpâfü[â^ */
/* âwâbâ_ */
MMIINIT initDataIMVSET = { "MmiInit", 31, 0 } ;
/* setDialogId */
static MMIPACKET d001 = { &setDialogId,
NULL,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d001d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_SAVEL40,
160, 115, 480, 365, 8, 4, 8,
MS_SRECTL40 | MS_UFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* setMesId[0] */
static MMIPACKET d002 = { &setMesId[0],
&setDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d002d = { MS_LEFTL40 | MS_DSPONLYL40,
180, 118, 339, 141, 0,15, 8,
MS_NONEL40,
"élénéuì─É╢ò√û@é╠É▌ÆΦ",
1, 12, 12,
MS_BOLDL40,
3, 0
} ;
/* setOKBtnId */
static MMIPACKET d003 = { &setOKBtnId,
&setDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d003d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
225, 334, 286, 356,12, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
setOKchk,
0x8012
} ;
/* setMesId[15] */
static MMIPACKET d004 = { &setMesId[15],
&setDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d004d = { MS_CENTERL40 | MS_DSPONLYL40,
226, 336, 285, 355, 0, 7, 8,
MS_NONEL40,
"É▌ ÆΦ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setCanBtnId */
static MMIPACKET d005 = { &setCanBtnId,
&setDialogId,
&MJ_DBUTTONL40,
OFFSET(DBUTTONL40),
MS_NONE
} ;
static DBUTTONL40 d005d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
354, 334, 415, 356,10, 4, 8,
MS_PANELL40 | MS_FRAMEL40,
setOKchk,
0x8011
} ;
/* setMesId[7] */
static MMIPACKET d006 = { &setMesId[7],
&setDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d006d = { MS_CENTERL40 | MS_DSPONLYL40,
355, 336, 414, 355, 0, 7, 8,
MS_NONEL40,
"ĵ Å┴",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setSubDialogId */
static MMIPACKET d007 = { &setSubDialogId,
&setDialogId,
&MJ_DIALOGL40,
OFFSET(DIALOGL40),
MS_NONE
} ;
static DIALOGL40 d007d = { MS_BTLEFTL40 | MS_EVMOSONL40 | MS_FIXEDL40,
180, 142, 461, 327, 8, 4, 8,
MS_DFRAMEL40 | MS_FRAMEL40,
NULL, 0, 0
} ;
/* setMesId[8] */
static MMIPACKET d008 = { &setMesId[8],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d008d = { MS_CENTERL40 | MS_DSPONLYL40,
218, 149, 287, 164, 0,15, 8,
MS_NONEL40,
"âEâFâCâg",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* waitNumId */
static MMIPACKET d009 = { &waitNumId,
&setSubDialogId,
&MJ_NUMBOXL40,
OFFSET(NUMBOXL40),
MS_NONE
} ;
static NUMBOXL40 d009d = { MS_BTLEFTL40 | MS_REPEATL40 | MS_EVMOSONL40 | MS_EVKEYONL40 | MS_RIGHTL40,
216, 170, 291, 193, 8, 4, 8,
MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
waitSet,
1, 12, 12,
MS_NONEL40,
0, 0,
0, 0, 99, 1, 0,
263, 264
} ;
/* setMesId[1] */
static MMIPACKET d010 = { &setMesId[1],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d010d = { MS_CENTERL40 | MS_DSPONLYL40,
355, 149, 436, 164, 0,15, 8,
MS_NONEL40,
"ò\Īâéü[âh",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setBtnId[0] */
static MMIPACKET d011 = { &setBtnId[0],
&setSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d011d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
346, 167, 441, 183, 8, 4, 8,
MS_NONEL40,
screenSet,
0x0000, 259, 260
} ;
/* setMesId[2] */
static MMIPACKET d012 = { &setMesId[2],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d012d = { MS_LEFTL40 | MS_DSPONLYL40,
370, 167, 450, 183, 0,15, 8,
MS_NONEL40,
"ânâCâXâLâââô",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setBtnId[1] */
static MMIPACKET d013 = { &setBtnId[1],
&setSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d013d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
346, 187, 441, 203, 8, 4, 8,
MS_NONEL40,
screenSet,
0x0000, 259, 260
} ;
/* setMesId[3] */
static MMIPACKET d014 = { &setMesId[3],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d014d = { MS_LEFTL40 | MS_DSPONLYL40,
370, 187, 450, 203, 0,15, 8,
MS_NONEL40,
"âìü[âXâLâââô",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setMesId[16] */
static MMIPACKET d015 = { &setMesId[16],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d015d = { MS_CENTERL40 | MS_DSPONLYL40,
352, 214, 438, 229, 0,15, 8,
MS_NONEL40,
"âfü[â^ò█æ╢ù╠êµ",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setBtnId[2] */
static MMIPACKET d016 = { &setBtnId[2],
&setSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d016d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
346, 232, 441, 248, 8, 4, 8,
MS_NONEL40,
playSet,
0x0000, 259, 260
} ;
/* setMesId[9] */
static MMIPACKET d017 = { &setMesId[9],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d017d = { MS_LEFTL40 | MS_DSPONLYL40,
370, 232, 450, 248, 0,15, 8,
MS_NONEL40,
"âüâéâè",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setBtnId[3] */
static MMIPACKET d018 = { &setBtnId[3],
&setSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static TICONL40 d018d = { MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_LEFTL40,
346, 252, 441, 268, 8, 4, 8,
MS_NONEL40,
playSet,
0x0000, 259, 260
} ;
/* setMesId[10] */
static MMIPACKET d019 = { &setMesId[10],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d019d = { MS_LEFTL40 | MS_DSPONLYL40,
370, 252, 450, 268, 0,15, 8,
MS_NONEL40,
"âfâBâXâN",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setMesId[6] */
static MMIPACKET d020 = { &setMesId[6],
&setSubDialogId,
&MJ_MSGL40,
OFFSET(MSGL40),
MS_NONE
} ;
static MSGL40 d020d = { MS_CENTERL40 | MS_DSPONLYL40,
209, 212, 296, 227, 0,15, 8,
MS_NONEL40,
"ò\Īö{ùª",
1, 12, 12,
MS_NONEL40,
0, 0
} ;
/* setBtnId[4] */
static MMIPACKET d021 = { &setBtnId[4],
&setSubDialogId,
&MJ_TICONL40,
OFFSET(TICONL40),
MS_NONE
} ;
static